<#include "index.ftl">
    <div class="tpl-portlet-components">
        <div class="portlet-title">
            <div class="caption font-green bold">
                <span class="am-icon-code"></span> 表单
            </div>
            <div class="tpl-portlet-input tpl-fz-ml">
                <div class="portlet-input input-small input-inline">
                    <#--<div class="input-icon right">
                        <i class="am-icon-search"></i>
                        <input type="text" class="form-control form-control-solid" placeholder="搜索..."> </div>-->
                </div>
            </div>


        </div>
        <div class="tpl-block ">

            <div class="am-g tpl-amazeui-form">


                <div class="am-u-sm-12 am-u-md-9">
                    <form class="am-form am-form-horizontal my-form" method="post" action="/admin/save/guanxixingzb">
                        <input type="hidden" name="id"  id="user-name" value="${GXXOfZb.id!}">
                        <div class="am-form-group">
                            <label for="user-email" class="am-u-sm-3 am-form-label">CPU</label>
                            <div class="am-u-sm-9">
                                <input type="email" name="cd"  readonly="readonly"  value="${GXXOfZb.cd!}">
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-email" class="am-u-sm-3 am-form-label">内存</label>
                            <div class="am-u-sm-9">
                                <input type="email" name="memory"  readonly="readonly"  value="${GXXOfZb.memory!}">
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-QQ" class="am-u-sm-3 am-form-label">电信价格</label>
                            <div class="am-u-sm-9">
                                <input type="number" name="dianXinPrice" pattern="[0-9]*" id="" value="${GXXOfZb.dianXinPrice!}">
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-QQ" class="am-u-sm-3 am-form-label">腾讯价格</label>
                            <div class="am-u-sm-9">
                                <input type="number"  name="tencentPrice" pattern="[0-9]*" id="" readonly="readonly" value="${GXXOfZb.tencentPrice!"0"}">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-QQ" class="am-u-sm-3 am-form-label">阿里价格</label>
                            <div class="am-u-sm-9">
                                <input type="number" name="aliPrice" pattern="[0-9]*" id="" readonly="readonly" value="${GXXOfZb.aliPrice!"0"}">
                            </div>
                        </div>




                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button type="button" id="btn-save" class="am-btn am-btn-primary">保存修改</button>

                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

    </div>
<script>
    $("#btn-save").click(function () {
        $(".my-form").submit();
        layer.msg("修改成功");
    });
</script>


